package com.ts.animal.dao;

import com.ts.animal.domain.ExcelRfidLabelUseInfoDO;
import com.ts.animal.domain.RfidLabelUseInfoDO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @author bobby
 * @email bobby@126.com
 * @date 2023-01-04 15:04:51
 */
@Mapper
public interface ExRfidLabelUseInfoDao {

	List<Map<String, Object>> importLabelList(Map<String, Object> map);

	Map<String, Object> importLabelSum(Map<String, Object> map);

	List<Map<String, Object>> labelUseInfoList(Map<String, Object> map);

	List<Map<String, Object>> labelSettlementList(Map<String, Object> map);

	int notSettlementCount(String useStatusYes);

	int updateLabelSettlementId(long settlementId ,String useStatusYes);

	int batchImportLabel(@Param("list") List<ExcelRfidLabelUseInfoDO> rfidLabelUseInfoDO);

	int revokeLabelSettlementId(long settlementId);

	int deleteLabelByImportId(long importId);
}
